package com.zzz.mapper;

import com.aaa.entity.OStock;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 86176
* @description 针对表【o_stock(商品存货信息)】的数据库操作Mapper
* @createDate 2023-03-08 14:36:06
* @Entity com.zzz.OStock
*/
@Mapper
public interface OStockMapper extends BaseMapper<OStock> {
    OStock getGoodsSellNum(Integer goodsId);

    Integer updateStock(Integer goodsid,Integer num);
}




